/**
 * @产生Fibonacci数
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	int sum[15], i;

	sum[0] = 0; 
	sum[1] = 1;

	for (i=2; i<15; i++) {
		sum[i] = sum[i-2] + sum[i-1];
	}

	for (i=0; i<15; i++) {
		printf("%d\n", sum[i]);
	}

	return 0;
}
